package com.hmys.api.mapper;

import com.hmys.api.model.WebNews;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WebNewsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(WebNews record);

    int insertSelective(WebNews record);

    WebNews selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(WebNews record);

    int updateByPrimaryKeyWithBLOBs(WebNews record);

    int updateByPrimaryKey(WebNews record);

    List<WebNews> selectByBean(WebNews record);

    int updatePageViewByPrimaryKey(Long id);
}